package com.zx.config.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version v1.0
 * @Project: managing-self
 * @Title: ErrorController
 * @Description: 设置异常页面
 * @author: zhangxue
 * @date: 2019年10月5日下午9:23:47
 * @company: 未知
 * @Copyright: Copyright (c) 2015
 */
@Controller
@RequestMapping("/error")
public class ErrorController {

    @RequestMapping("/")
    public String error() {
        return "error/404";
    }

}
